{{#if groups}}

{{heading 2}} Index

{{#each groups}}

{{#if categories}}

{{#each categories}}

{{heading 3}} {{title}} {{../title}}

{{#each children}}
* [{{{name}}}]({{relativeURL url}})
{{/each}}

{{/each}}

{{else}}

{{heading 3}} {{title}}

{{#each children}}
* [{{{name}}}]({{relativeURL url}})
{{/each}}

{{/if}}

{{/each}}

{{/if}}